#ifndef _COM_HAL_H_
#define	_COM_HAL_H_

#include "stdint.h"

#ifdef   _COM_MODULE_
#define  MB_EXT
#else
#define  MB_EXT  extern
#endif      

MB_EXT uint8_t *pComSendData;
MB_EXT uint16_t ComSendCnt;
MB_EXT uint16_t ComRcvCnt;
MB_EXT uint8_t  ComRcvBuff[128];
MB_EXT uint8_t  ComSndBuff[128];
MB_EXT uint8_t  ComRcvSt;

void ComStringSend(uint8_t *Src);
void ComDataSend(uint8_t *Src, uint16_t Len);

#undef MB_EXT

#endif	/* _COM_HAL_H_ */

